package com.youlu.campus.entity.VO.req;

import com.youlu.campus.entity.UserPO;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class QQMiniPlaceOrderReq {

    @NotBlank(message = "收货人姓名不能为空")
    private String name;
    @NotBlank(message = "收货人手机号不能为空")
    private String mobile;
    @NotBlank(message = "收货人地址不能为空")
    private String address;
    @NotBlank(message = "收件地址所属省份不能为空")
    private String province;
    @NotBlank(message = "收件地址所属市不能为空")
    private String city;
    @NotBlank(message = "收件地址所属区不能为空")
    protected String area;
    private String activityId;
    @NotBlank(message = "文创商品ID不能为空")
    private String itemId;
    private List<String> itemIds = new ArrayList<>();
    private UserPO currentUser;
    /**
     * 平台
     */
    private String platform;
    /**
     * 应用
     */
    private String appId;
    /**
     * 支付渠道,wechat:微信支付,qq:QQ支付,ping-plus:ping++支付，
     */
    private String channel;
    /**
     * 下单IP
     */
    private String clientIp;

    private String url;

    private String openId;

    private String wechatAppId;

    private String itemCategory="item";

    private String tips;
}
